package com.cn.config;

import com.cn.domain.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Classname myConfig
 * @Description TODO
 * @Date 2020/10/28 8:30
 * @Created by Administrator
 */
@Configuration
public class MyConfig {

	@Bean
	public Person getPerson(){
		return new Person(1,"小王");
	}
}
